package com.ShottingWord.shared;

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.base.Objects;

/**
 * 
 * Class shows the games result.
 * @author nini
 *
 */
public class GameResult {
       private int score;
       private double accuracy;
       
       public GameResult(int score, double accuracy){
    	   this.score = score;
    	   this.accuracy = accuracy;
       }
       
       /**
        * 
        * @return get the score of this game.
        */
       public int getScore(){
    	   return score;
       }
       
       /**
        * 
        * @return the accuracy of this game.
        */       
       public double getAccuracy(){
    	   return accuracy;
       }
       
       /**
        * 
        * @param score
        */
       public void setScore(int score){
    	   this.score = score;
       }
       
       /**
        * 
        * @param accuracy
        */
       public void setAccuracy(double accuracy){
    	   this.accuracy = accuracy;
       }
       
}
